package edu.hunau.cxb18.jdbc.dao;

import edu.hunau.cxb18.jdbc.pojo.User;

import java.util.List;

/**
 * @author hb
 * @create 2020-03-18 11:01
 */
public interface UserDao {

    public int inserUser(User user);

    public void deleteById(Integer id);

    public void updatePwdById(User user);

    public String queryNameById(Integer id);

    public User queryUserById(Integer id);

    public List<User> queryUsersByLikeName(String name);

    public List<User> queryAll();
}
